
const {ccclass, property} = cc._decorator;

@ccclass
export default class NewClass extends cc.Component {



    // LIFE-CYCLE CALLBACKS:

     onLoad () {
        let physicsManager=  cc.director.getPhysicsManager();
        physicsManager.enabled=true
        //physicsManager.debugDrawFlags=1

        let coll=cc.director.getCollisionManager();
        coll.enabled=true;
        coll.enabledDebugDraw=true;
     }

    start () {

    }

    update (dt) {}
}
